package cn.admin.config.common.protocol;

public final class PublisherRegReqPacket extends DataClientRegReqPacket {

    public PublisherRegReqPacket(String dataId,String clientId,String datumId) {

        PublisherRegElement reg = new PublisherRegElement();
        reg.dataId = dataId;
        reg.clientId = clientId;
        reg.datumId = datumId;

        this.addElement(reg);
    }

    @Override
    public ProtocolElementUid uid() {
        return ProtocolElementUid.PACKET_PUBLISHER_REG_REQUEST;
    }
}
